package com.weipai.springboot.module.service;

import com.weipai.springboot.model.Demand;
import com.weipai.springboot.model.Shop;
import com.weipai.springboot.model.api.Response;
import org.springframework.web.multipart.MultipartFile;

import java.io.File;
import java.util.List;

/**
 * @Author: 曹朋飞
 * @Date: 2018/08/27 11:09
 */
public interface PersonalService {

    //获取用户的需求
    Response getDemandByCustomerId();

    //添加需求
    Response saveDemand(Demand demand);

    //获取需求分类
    Response getDemandCategory();

    //申请店铺
    Response applyForShop(Shop shop, String customerId);
    
    //获取店铺分类
    Response getShopCategory();

    //用户反馈
    Response customerFeedBack(String feedText);

    //用户的优惠券
    Response getCustomerGift(Integer status, Integer page, Integer size, String customerId);

    //领取优惠券
    Response receiveGift(String giftId, String customerId);

    //保存评论
    Response saveEvaluate(String goodsSpec, String evaluateText, String spuNumber, Integer star, 
                          String result, Integer isAnonymity, String goodsId);

    //提交身份证
    Response identificationCard(String img, String type);


    //验证身份证图片是否可用
    Response varIdCardImg(String shopId);

    //获取用户的积分记录
    Response getCustomerIntegralInfo();

    Response applyForShopWeb(Shop shop, String customerId);
}
